package com.learner.trade.feign;


import com.learner.pojo.trade.dto.CourseDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value="ls-service-course")
public interface EduCourseService {

    /**
    * @Description: 远程调用课程信息
    * @Author: ice2020x
    * @Date: 2021/10/27
    */
    @GetMapping("/api/edu/course/inner/getCourseDto/{id}")
    CourseDto getCourseDto(@PathVariable("id") String id);
}
